<script setup>
  import {ref,computed} from 'vue'
  const list = ref([1,2,3,4,5,6,7,8,9])
  const computedList = computed(() => {
    return list.value.filter(item => item >= 4)
  })
</script>

<template>
  <div>{{computedList }}</div>
</template>

<style scoped>
   
</style>